'use strict';

angular.module('xuexibangApp')
	.controller('ArticleCtrl', function($scope,$location) {
		$scope.isActive = function(state) {
      return $location.path().indexOf(state)>-1;
    };
	});
